import Mock from 'mockjs';
import LOGIN from './login';
Mock.setup({
    timeout: 700
});
// // 登陆
Mock.mock('/api/login', 'post', () => {
  return {
    code: 200,
    msg: 'success',
    data: {
      ...LOGIN.userInfo
    }
  }
})
// 获取用户信息
Mock.mock('/api/getUserInfo/mock', 'post', () => {
    return {
        code: 200,
        msg: 'success',
        data: {
            ...LOGIN.userInfo
        }
    }
})
